﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DATA;
using DTO;
namespace BUS
{
   public  class SupportOnlineYMBUS
    {
        public List<SupportOnlineYMDTO> GetAllSupportOnlineYMs()
        {
            SupportOnlineYMREP acc = new SupportOnlineYMREP();
            return acc.GetAllSupportOnlineYMs();
        }

        public bool AddSupportOnlineYM(SupportOnlineYMDTO newAccount)
        {
            SupportOnlineYMREP acc = new SupportOnlineYMREP();
            return acc.AddSupportOnlineYM(newAccount);
        }

        public void DeleteSupportOnlineYM(int AccountID)
        {
            SupportOnlineYMREP acc = new SupportOnlineYMREP();
            acc.DeleteSupportOnlineYM(AccountID);
        }

        public bool UpdateSupportOnlineYM(SupportOnlineYMDTO accountup)
        {
            SupportOnlineYMREP acc = new SupportOnlineYMREP();
            return acc.UpdateSupportOnlineYM(accountup);


        }


    }
}
